using System;
using Admin.NET.Core;
using SqlSugar;

namespace Admin.NET.Application.Entity.Business;

[SugarTable("OwnerNotice", "业主消息通知")]
[SysTable]
public class OwnerNotice : EntityTenant
{
	/// <summary>
	/// 业主id
	/// </summary>
	public long OwnerId { get; set; }

	/// <summary>
	/// 状态，已读未读，0未读，1已读
	/// </summary>
	public int Status { get; set; }

	/// <summary>
	/// 阅读时间
	/// </summary>
	public DateTime? ReadTime { get; set; }

	/// <summary>
	/// 主题
	/// </summary>
	public string Title { get; set; }

	/// <summary>
	/// 内容
	/// </summary>
	[SugarColumn(ColumnDescription = "内容", ColumnDataType = "varcharmax,longtext,text,clob")]
	public string Content { get; set; }

	/// <summary>
	/// 备注
	/// </summary>
	[SugarColumn(ColumnDescription = "备注", ColumnDataType = "varcharmax,longtext,text,clob")]
	public string? Remark { get; set; }

	/// <summary>
	/// 跳转页面
	/// </summary>
	[SugarColumn(ColumnDescription = "跳转url", ColumnDataType = "varcharmax,longtext,text,clob")]
	public string? Path { get; set; }
}
